Adding a Checkbox Component
This tutorial walks through creating a complete Checkbox component for the Example Component Library. We'll build the component step-by-step across all scopes: common
, designer
, gateway
, and web
.
Component Overview
The Checkbox component we'll create will have these features:
- Toggle-able checked state
- Label text
- Disabled state
- Custom styling support
- Change event handler
Tutorial Structure
-
- Component descriptor
- Property schemas
- Event definitions
- Constants and utilities
-
- Component registration
- Component icons
-
- Component registration
- Event handling
- Resource management
-
- React component
- TypeScript definitions
- Styling
- Event handling
-
- Enhance the Checkbox component with additional features
- Create related components
- Tips and hints for expanding your skills